package com.yunhai.device.listener;

import com.yunhai.model.vo.fms.FmsMaterialConfigIntern;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name="recipe-service-other")
public interface RecipeClient {

    @GetMapping("/materialConfig/condition")
    public List<FmsMaterialConfigIntern> getRecipeByIds(@RequestParam("ids") List<Long> ids ) throws Exception;
}
